<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Detail: guild/guild.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Detail
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c92f8b0c436b7cf5413a5c6644bc0ce0.html">guild</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">guild.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="guild_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// #ifndef GUILD_H</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// #define GUILD_H</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;cinttypes&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;limits&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span>guild_service {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="guild_8h.html#a1c8a386d9790b05f2665f3e786b8d983">   31</a></span>&#160;<span class="keyword">using</span> <a class="code" href="guild_8h.html#a1c8a386d9790b05f2665f3e786b8d983">guild_id_type</a> = uint64_t;       </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="guild_8h.html#a13864dd0b362015febe14be7a3960539">   32</a></span>&#160;<span class="keyword">using</span> <a class="code" href="guild_8h.html#a13864dd0b362015febe14be7a3960539">role_uuid_type</a> = uint64_t;      </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="guild_8h.html#a9cac24cb024a71e23871819966b5aac5">   33</a></span>&#160;<span class="keyword">using</span> <a class="code" href="guild_8h.html#a9cac24cb024a71e23871819966b5aac5">guild_icon_id_type</a> = uint32_t;  </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="guild_8h.html#ab699226ca9500253544813c10918cb7e">   35</a></span>&#160;constexpr <a class="code" href="guild_8h.html#a1c8a386d9790b05f2665f3e786b8d983">guild_id_type</a> <a class="code" href="guild_8h.html#ab699226ca9500253544813c10918cb7e">kInvalidGuildId</a> = 0ull;    </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="guild_8h.html#a32df4f242e611d770e68d11c2c60866a">   36</a></span>&#160;constexpr <a class="code" href="guild_8h.html#a13864dd0b362015febe14be7a3960539">role_uuid_type</a> <a class="code" href="guild_8h.html#a32df4f242e611d770e68d11c2c60866a">kInvalidRoleUuid</a> = 0ull;  </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="guild_8h.html#ae4ae576ea2528954a857ec80eadc0fc6">   37</a></span>&#160;constexpr std::size_t <a class="code" href="guild_8h.html#ae4ae576ea2528954a857ec80eadc0fc6">kInvalidPoolIndex</a> =</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    std::numeric_limits&lt;uint32_t&gt;::max();  </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="guild_8h.html#adc259d131a7de9f9766c4a1fa59d2c45">   39</a></span>&#160;constexpr uint32_t <a class="code" href="guild_8h.html#adc259d131a7de9f9766c4a1fa59d2c45">kLoadGuildModuleInterval</a> = 2000;  </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="guild_8h.html#a0dfa2a1b8b2db6b2171d185155e6880d">   41</a></span>&#160;constexpr std::size_t <a class="code" href="guild_8h.html#a0dfa2a1b8b2db6b2171d185155e6880d">kMaxGuildMemberSize</a> = 1000;  </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structguild__service_1_1_guild.html">   47</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structguild__service_1_1_guild.html">Guild</a> {</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structguild__service_1_1_guild.html#aab58ccee416faa9884a64ed5fa91cc6e">   48</a></span>&#160;  <a class="code" href="guild_8h.html#a1c8a386d9790b05f2665f3e786b8d983">guild_id_type</a> <span class="keywordtype">id</span>{<a class="code" href="guild_8h.html#ab699226ca9500253544813c10918cb7e">kInvalidGuildId</a>};          </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structguild__service_1_1_guild.html#a02dc212bd9992487a6fdef45fd390e7f">   49</a></span>&#160;  std::size_t <a class="code" href="structguild__service_1_1_guild.html#a02dc212bd9992487a6fdef45fd390e7f">pool_index</a>{<a class="code" href="guild_8h.html#ae4ae576ea2528954a857ec80eadc0fc6">kInvalidPoolIndex</a>};  </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;};</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="guild_8h.html#aac3a5286aeac88bbc4ee8752962f20e2">   52</a></span>&#160;constexpr <span class="keywordtype">char</span> <a class="code" href="guild_8h.html#aac3a5286aeac88bbc4ee8752962f20e2">kGuildServiceBasicName</a>[] =</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="stringliteral">&quot;GuildServiceBasic&quot;</span>;  </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="guild_8h.html#aa5757ebf31ab5c63d40c9437980e75e3">   54</a></span>&#160;constexpr <span class="keywordtype">char</span> <a class="code" href="guild_8h.html#aa5757ebf31ab5c63d40c9437980e75e3">kGuildServiceQueryName</a>[] =</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="stringliteral">&quot;GuildServiceQuery&quot;</span>;  </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;}  <span class="comment">// namespace guild_service</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">// #endif  // GUILD_H</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aguild_8h_html_a0dfa2a1b8b2db6b2171d185155e6880d"><div class="ttname"><a href="guild_8h.html#a0dfa2a1b8b2db6b2171d185155e6880d">guild_service::kMaxGuildMemberSize</a></div><div class="ttdeci">constexpr std::size_t kMaxGuildMemberSize</div><div class="ttdoc">最大公会成员人数</div><div class="ttdef"><b>Definition:</b> guild.h:41</div></div>
<div class="ttc" id="astructguild__service_1_1_guild_html_a02dc212bd9992487a6fdef45fd390e7f"><div class="ttname"><a href="structguild__service_1_1_guild.html#a02dc212bd9992487a6fdef45fd390e7f">guild_service::Guild::pool_index</a></div><div class="ttdeci">std::size_t pool_index</div><div class="ttdoc">模块池索引id</div><div class="ttdef"><b>Definition:</b> guild.h:49</div></div>
<div class="ttc" id="aguild_8h_html_a1c8a386d9790b05f2665f3e786b8d983"><div class="ttname"><a href="guild_8h.html#a1c8a386d9790b05f2665f3e786b8d983">guild_service::guild_id_type</a></div><div class="ttdeci">uint64_t guild_id_type</div><div class="ttdoc">公会id类型</div><div class="ttdef"><b>Definition:</b> guild.h:31</div></div>
<div class="ttc" id="astructguild__service_1_1_guild_html"><div class="ttname"><a href="structguild__service_1_1_guild.html">guild_service::Guild</a></div><div class="ttdoc">公会</div><div class="ttdef"><b>Definition:</b> guild.h:47</div></div>
<div class="ttc" id="aguild_8h_html_adc259d131a7de9f9766c4a1fa59d2c45"><div class="ttname"><a href="guild_8h.html#adc259d131a7de9f9766c4a1fa59d2c45">guild_service::kLoadGuildModuleInterval</a></div><div class="ttdeci">constexpr uint32_t kLoadGuildModuleInterval</div><div class="ttdoc">异步加载公会模块的间隔</div><div class="ttdef"><b>Definition:</b> guild.h:39</div></div>
<div class="ttc" id="aguild_8h_html_ab699226ca9500253544813c10918cb7e"><div class="ttname"><a href="guild_8h.html#ab699226ca9500253544813c10918cb7e">guild_service::kInvalidGuildId</a></div><div class="ttdeci">constexpr guild_id_type kInvalidGuildId</div><div class="ttdoc">非法公会id类型</div><div class="ttdef"><b>Definition:</b> guild.h:35</div></div>
<div class="ttc" id="aguild_8h_html_a32df4f242e611d770e68d11c2c60866a"><div class="ttname"><a href="guild_8h.html#a32df4f242e611d770e68d11c2c60866a">guild_service::kInvalidRoleUuid</a></div><div class="ttdeci">constexpr role_uuid_type kInvalidRoleUuid</div><div class="ttdoc">非法角色唯一id类型</div><div class="ttdef"><b>Definition:</b> guild.h:36</div></div>
<div class="ttc" id="aguild_8h_html_ae4ae576ea2528954a857ec80eadc0fc6"><div class="ttname"><a href="guild_8h.html#ae4ae576ea2528954a857ec80eadc0fc6">guild_service::kInvalidPoolIndex</a></div><div class="ttdeci">constexpr std::size_t kInvalidPoolIndex</div><div class="ttdoc">非法公会模块池索引id类型</div><div class="ttdef"><b>Definition:</b> guild.h:37</div></div>
<div class="ttc" id="aguild_8h_html_aa5757ebf31ab5c63d40c9437980e75e3"><div class="ttname"><a href="guild_8h.html#aa5757ebf31ab5c63d40c9437980e75e3">guild_service::kGuildServiceQueryName</a></div><div class="ttdeci">constexpr char kGuildServiceQueryName[]</div><div class="ttdoc">公会查询服务名字</div><div class="ttdef"><b>Definition:</b> guild.h:54</div></div>
<div class="ttc" id="aguild_8h_html_a9cac24cb024a71e23871819966b5aac5"><div class="ttname"><a href="guild_8h.html#a9cac24cb024a71e23871819966b5aac5">guild_service::guild_icon_id_type</a></div><div class="ttdeci">uint32_t guild_icon_id_type</div><div class="ttdoc">Icon id类型</div><div class="ttdef"><b>Definition:</b> guild.h:33</div></div>
<div class="ttc" id="aguild_8h_html_aac3a5286aeac88bbc4ee8752962f20e2"><div class="ttname"><a href="guild_8h.html#aac3a5286aeac88bbc4ee8752962f20e2">guild_service::kGuildServiceBasicName</a></div><div class="ttdeci">constexpr char kGuildServiceBasicName[]</div><div class="ttdoc">公会基础服务名字</div><div class="ttdef"><b>Definition:</b> guild.h:52</div></div>
<div class="ttc" id="aguild_8h_html_a13864dd0b362015febe14be7a3960539"><div class="ttname"><a href="guild_8h.html#a13864dd0b362015febe14be7a3960539">guild_service::role_uuid_type</a></div><div class="ttdeci">uint64_t role_uuid_type</div><div class="ttdoc">角色唯一id类型</div><div class="ttdef"><b>Definition:</b> guild.h:32</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
